﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LeftMenu.ascx.cs" Inherits="FisheryPlatform.Web.Admin.Modules.Menu.LeftMenu" %>
<%@ Import Namespace="FisheryPlatform.Bussiness.Menu" %>
<div class="left">
    <div class="submenutitle">
        <h2>
            <a href="/Index.aspx">控制面板</a></h2>
    </div>
    <div class="submenu">
        <% foreach (var menu in MenuManager.List)
           {%><div class="head">
               <%=menu.Key %></div>
        <% if (MenuManager.SubList.ContainsKey(menu.Value))
           { %><ul>
               <% foreach (var subMenu in MenuManager.SubList[menu.Value])
                  {%><li><a href="<%=subMenu.Value %>">
                      <%=subMenu.Key%></a></li><%} %></ul>
        <%}
           } %></div>
</div>
